home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000410_news@newsmaster….columbia.edu _Mon Aug 24 14:14:34 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA27005
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 24 Aug 1998 14:14:33 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA21994
  7.     for kermit.misc@watsun; Mon, 24 Aug 1998 14:14:33 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: How to OUTPUT curly braces?
  12. Date: 24 Aug 1998 18:14:30 GMT
  13. Organization: Columbia University
  14. Lines: 25
  15. Message-ID: <6rsai6$n7e$1@apakabar.cc.columbia.edu>
  16. References: <lJ6E1.1079$B4.1278308@news.inreach.com>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:9136
  19.  
  20. In article <lJ6E1.1079$B4.1278308@news.inreach.com>,
  21. Dick Repasky <d_repasky@inreach.com> wrote:
  22. : How do I send curly braces {} using the output command in IBM-PC
  23. : MS-DOS kermit 3.14?  This is driving me crazy because I have a script that
  24. : works fine in C-kermit but won't work in ms-dos kermit.
  25. Curly braces are special only when at the beginning and end of the OUTPUT
  26. string:
  27.  
  28.   OUTPUT {foo}    sends  foo
  29.   OUTPUT {{foo}}  sends  {foo}
  30.  
  31. As you have noticed, this is different from C-Kermit, which does not strip
  32. braces from the OUTPUT string at all, and so in C-Kermit:
  33.  
  34.   OUTPUT {foo}    sends  {foo}
  35.   OUTPUT {{foo}}  sends  {{foo}}
  36.  
  37. So yes, this is an inconsistency.
  38.  
  39. When braces are other positions, the behavior is consistent:
  40.  
  41.   OUTPUT foo{}bar sends  foo{}bar
  42.  
  43. - Frank